import React from 'react'
const baseUrl = '/user/api/b'
//宠圈动态列表
export async function apiDynamicPage(params) {
    return await React.$postJson(baseUrl + '/banner/page', params);
}
//资源位列表
export async function apiBannerPage(params) {
    return await React.$postJson(baseUrl + '/banner/page', params);
}
//资源位编辑
export async function apiBannerEdit(params) {
    return await React.$postJson(baseUrl + '/banner/edit', params);
}
//资源位启用/停用资源位【单个和批量】
export async function apiBannerDel(params) {
    return await React.$postJson(baseUrl + '/banner/del', params);
}
//新建资源位
export async function apiBannerAdd(params) {
    return await React.$postJson(baseUrl + '/banner/add', params);
}
//资源位详情
export async function apiBannerOne(bannerId) {
    console.log("apiBannerOne");
    return await React.$get(baseUrl + '/banner/one', { bannerId });
}
//自动点赞查询操作日志
export async function apiGetLog(params) {
    return await React.$postJson(baseUrl + '/petDynamic/getOperationLog', params);
}
// 获取群聊信息
export async function apiGetGroupInfo(params) {
    return await React.$postJson(baseUrl + '/chatGroup/selectOne', params);
}
